﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
    public class AquacultureGuiGeRequest : TEntityRequest<AquacultureGuiGe>
    {
        public AquacultureGuiGeRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.AquacultureGuiGeId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class AquacultureGuiGeListRequest : TEntityListRequest<AquacultureGuiGe>
    {
        private int? categoryId = GetParameterValue<int?>(YuanlinParameterName.CategoryId);
        private string unit = GetParameterValue<string>(YuanlinParameterName.Unit);

        public int? CategoryId
        {
            get
            {
                return categoryId;
            }
            set
            {
                categoryId = value;
            }
        }
        public string Unit
        {
            get
            {
                return unit;
            }
            set
            {
                unit = value;
            }
        }
    }
    public class AquacultureGuiGeReply : EntityReply
    {
    }
}